// Copyright (c) 2007 Alistair Jones
// This program is made available under the terms of the MIT License.
package org.hypirinha.html.codegen;

import java.io.PrintStream;

public class Field implements Member {
    private String fieldName;
    private String fieldType;

    public Field(String fieldName, String fieldType) {
        this.fieldName = fieldName;
        this.fieldType = fieldType;
    }

    public void printTo(PrintStream printStream) {
        printStream.println("    private " + fieldType + " " + fieldName + ";");
    }

}